package com.chenxi.vhr.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName base_mail_send_log
 */
@TableName(value ="base_mail_send_log")
@Data
public class BaseMailSendLog implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "msg_id")
    private String msgId;

    /**
     * 
     */
    @TableField(value = "emp_id")
    private Integer empId;

    /**
     * 0发送中，1发送成功，2发送失败
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 
     */
    @TableField(value = "routeKey")
    private String routekey;

    /**
     * 
     */
    @TableField(value = "exchange")
    private String exchange;

    /**
     * 重试次数
     */
    @TableField(value = "count")
    private Integer count;

    /**
     * 第一次重试时间
     */
    @TableField(value = "try_time")
    private Date tryTime;

    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}